<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::LooError&lt; ModelTypeT, LabelType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_loo_error.html">LooError</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_loo_error-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::LooError&lt; ModelTypeT, LabelType &gt; Class Template Reference<div class="ingroups"><a class="el" href="group__objfunctions.html">Objective functions</a></div></div></div>
</div><!--header-->
<div class="contents">

<p>Leave-one-out error objective function.  
 <a href="classshark_1_1_loo_error.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_loo_error_8h_source.html">shark/ObjectiveFunctions/LooError.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::LooError&lt; ModelTypeT, LabelType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_loo_error__inherit__graph.png" border="0" usemap="#ashark_1_1_loo_error_3_01_model_type_t_00_01_label_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_loo_error_3_01_model_type_t_00_01_label_type_01_4_inherit__map" id="ashark_1_1_loo_error_3_01_model_type_t_00_01_label_type_01_4_inherit__map">
<area shape="rect" title="Leave&#45;one&#45;out error objective function." alt="" coords="5,109,191,150"/>
<area shape="rect" href="classshark_1_1_abstract_objective_function.html" title=" " alt="" coords="15,5,181,61"/>
<area shape="poly" title=" " alt="" coords="101,77,101,109,95,109,95,77"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:aeebe3f649a655a693566c209f8fde436" id="r_aeebe3f649a655a693566c209f8fde436"><td class="memItemLeft" align="right" valign="top">typedef ModelTypeT&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a></td></tr>
<tr class="separator:aeebe3f649a655a693566c209f8fde436"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d4e7296d56808b83f609ecb70f121aa" id="r_a3d4e7296d56808b83f609ecb70f121aa"><td class="memItemLeft" align="right" valign="top">typedef ModelType::InputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a3d4e7296d56808b83f609ecb70f121aa">InputType</a></td></tr>
<tr class="separator:a3d4e7296d56808b83f609ecb70f121aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae009af284a0f073b1118fcaeb9a92356" id="r_ae009af284a0f073b1118fcaeb9a92356"><td class="memItemLeft" align="right" valign="top">typedef ModelType::OutputType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#ae009af284a0f073b1118fcaeb9a92356">OutputType</a></td></tr>
<tr class="separator:ae009af284a0f073b1118fcaeb9a92356"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98fd037674411d450eb935f09319bb40" id="r_a98fd037674411d450eb935f09319bb40"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="classshark_1_1_loo_error.html#a3d4e7296d56808b83f609ecb70f121aa">InputType</a>, LabelType &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a98fd037674411d450eb935f09319bb40">DatasetType</a></td></tr>
<tr class="separator:a98fd037674411d450eb935f09319bb40"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bc94bd972315845cb98d73988f6d908" id="r_a5bc94bd972315845cb98d73988f6d908"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_trainer.html">AbstractTrainer</a>&lt; <a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a>, LabelType &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a5bc94bd972315845cb98d73988f6d908">TrainerType</a></td></tr>
<tr class="separator:a5bc94bd972315845cb98d73988f6d908"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b1a832c24da5cce462b16c0a6a0566c" id="r_a7b1a832c24da5cce462b16c0a6a0566c"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt; LabelType, typename ModelType::OutputType &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a7b1a832c24da5cce462b16c0a6a0566c">LossType</a></td></tr>
<tr class="separator:a7b1a832c24da5cce462b16c0a6a0566c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;</a></td></tr>
<tr class="memitem:aadafeb6dfb5b649f321e7b81ac8aad1a inherit pub_types_classshark_1_1_abstract_objective_function" id="r_aadafeb6dfb5b649f321e7b81ac8aad1a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">Feature</a> </td></tr>
<tr class="memdesc:aadafeb6dfb5b649f321e7b81ac8aad1a"><td class="mdescLeft">&#160;</td><td class="mdescRight">List of features that are supported by an implementation.  <a href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">More...</a><br /></td></tr>
<tr class="separator:aadafeb6dfb5b649f321e7b81ac8aad1a inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59bfea031628e16737c66e7117eba7b5 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a59bfea031628e16737c66e7117eba7b5"><td class="memItemLeft" align="right" valign="top">typedef RealVector&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a></td></tr>
<tr class="separator:a59bfea031628e16737c66e7117eba7b5 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70f0672a3c3b24c437c81243624b5307 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a70f0672a3c3b24c437c81243624b5307"><td class="memItemLeft" align="right" valign="top">typedef double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a></td></tr>
<tr class="separator:a70f0672a3c3b24c437c81243624b5307 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29804371954a360f09696adea7cfd839 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a29804371954a360f09696adea7cfd839"><td class="memItemLeft" align="right" valign="top">typedef boost::mpl::if_&lt; std::is_arithmetic&lt; double &gt;, <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>, RealMatrix &gt;::type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a29804371954a360f09696adea7cfd839">FirstOrderDerivative</a></td></tr>
<tr class="separator:a29804371954a360f09696adea7cfd839 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a015ecb970cd0f5dac73e727fdcc0afec inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a015ecb970cd0f5dac73e727fdcc0afec"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_flags.html">TypedFlags</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a015ecb970cd0f5dac73e727fdcc0afec">Features</a></td></tr>
<tr class="memdesc:a015ecb970cd0f5dac73e727fdcc0afec inherit pub_types_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">This statement declares the member m_features. See <a class="el" href="_flags_8h.html">Core/Flags.h</a> for details.  <br /></td></tr>
<tr class="separator:a015ecb970cd0f5dac73e727fdcc0afec inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08e03b4eea2e069da19e0870fd205090 inherit pub_types_classshark_1_1_abstract_objective_function" id="r_a08e03b4eea2e069da19e0870fd205090"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_typed_feature_not_available_exception.html">TypedFeatureNotAvailableException</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1a">Feature</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a08e03b4eea2e069da19e0870fd205090">FeatureNotAvailableException</a></td></tr>
<tr class="separator:a08e03b4eea2e069da19e0870fd205090 inherit pub_types_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abf0bc6ef63dc7648e2fc257b7c6587cb" id="r_abf0bc6ef63dc7648e2fc257b7c6587cb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#abf0bc6ef63dc7648e2fc257b7c6587cb">LooError</a> (<a class="el" href="classshark_1_1_loo_error.html#a98fd037674411d450eb935f09319bb40">DatasetType</a> const &amp;dataset, <a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a> *model, <a class="el" href="classshark_1_1_loo_error.html#a5bc94bd972315845cb98d73988f6d908">TrainerType</a> *trainer, <a class="el" href="classshark_1_1_loo_error.html#a7b1a832c24da5cce462b16c0a6a0566c">LossType</a> *loss, <a class="el" href="classshark_1_1_i_parameterizable.html">IParameterizable</a>&lt;&gt; *meta=NULL)</td></tr>
<tr class="memdesc:abf0bc6ef63dc7648e2fc257b7c6587cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <br /></td></tr>
<tr class="separator:abf0bc6ef63dc7648e2fc257b7c6587cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4deb85efd90bada09269d3433e72497a" id="r_a4deb85efd90bada09269d3433e72497a"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a4deb85efd90bada09269d3433e72497a">name</a> () const</td></tr>
<tr class="memdesc:a4deb85efd90bada09269d3433e72497a"><td class="mdescLeft">&#160;</td><td class="mdescRight">From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name.  <br /></td></tr>
<tr class="separator:a4deb85efd90bada09269d3433e72497a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0261f681ff5438e68e8a29fe64265dc" id="r_ac0261f681ff5438e68e8a29fe64265dc"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#ac0261f681ff5438e68e8a29fe64265dc">numberOfVariables</a> () const</td></tr>
<tr class="memdesc:ac0261f681ff5438e68e8a29fe64265dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the number of variables.  <br /></td></tr>
<tr class="separator:ac0261f681ff5438e68e8a29fe64265dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21fc9ca54e8f324cc6136bc5cebb121" id="r_ac21fc9ca54e8f324cc6136bc5cebb121"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#ac21fc9ca54e8f324cc6136bc5cebb121">eval</a> () const</td></tr>
<tr class="separator:ac21fc9ca54e8f324cc6136bc5cebb121"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af232bdbe9573aae2d81d9d574c331425" id="r_af232bdbe9573aae2d81d9d574c331425"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#af232bdbe9573aae2d81d9d574c331425">eval</a> (const RealVector &amp;parameters) const</td></tr>
<tr class="separator:af232bdbe9573aae2d81d9d574c331425"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;</a></td></tr>
<tr class="memitem:a755673593a64a978a91ac3398c390d4b inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a755673593a64a978a91ac3398c390d4b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classshark_1_1_abstract_objective_function.html#a015ecb970cd0f5dac73e727fdcc0afec">Features</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a755673593a64a978a91ac3398c390d4b">features</a> () const</td></tr>
<tr class="separator:a755673593a64a978a91ac3398c390d4b inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f92098ce1e74c805f359b56893e78ed inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a7f92098ce1e74c805f359b56893e78ed"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a7f92098ce1e74c805f359b56893e78ed">updateFeatures</a> ()</td></tr>
<tr class="separator:a7f92098ce1e74c805f359b56893e78ed inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4be77b4100781bbd7ca50bcf68c94f inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a7d4be77b4100781bbd7ca50bcf68c94f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a7d4be77b4100781bbd7ca50bcf68c94f">hasValue</a> () const</td></tr>
<tr class="memdesc:a7d4be77b4100781bbd7ca50bcf68c94f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can calculate it's function value  <br /></td></tr>
<tr class="separator:a7d4be77b4100781bbd7ca50bcf68c94f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec3465e02d80e79445df299cf8531fcc inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aec3465e02d80e79445df299cf8531fcc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aec3465e02d80e79445df299cf8531fcc">hasFirstDerivative</a> () const</td></tr>
<tr class="memdesc:aec3465e02d80e79445df299cf8531fcc inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can calculate the first derivative  <br /></td></tr>
<tr class="separator:aec3465e02d80e79445df299cf8531fcc inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f5d2c0fa504de1e3b5a66363c826f08 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a9f5d2c0fa504de1e3b5a66363c826f08"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a9f5d2c0fa504de1e3b5a66363c826f08">hasSecondDerivative</a> () const</td></tr>
<tr class="memdesc:a9f5d2c0fa504de1e3b5a66363c826f08 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can calculate the second derivative  <br /></td></tr>
<tr class="separator:a9f5d2c0fa504de1e3b5a66363c826f08 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa190c3699e653df3f054b0b3d753270e inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aa190c3699e653df3f054b0b3d753270e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aa190c3699e653df3f054b0b3d753270e">canProposeStartingPoint</a> () const</td></tr>
<tr class="memdesc:aa190c3699e653df3f054b0b3d753270e inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can propose a starting point.  <br /></td></tr>
<tr class="separator:aa190c3699e653df3f054b0b3d753270e inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a03eac74b7cac35c5d510ab12599393 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a2a03eac74b7cac35c5d510ab12599393"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a2a03eac74b7cac35c5d510ab12599393">isConstrained</a> () const</td></tr>
<tr class="memdesc:a2a03eac74b7cac35c5d510ab12599393 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can return  <br /></td></tr>
<tr class="separator:a2a03eac74b7cac35c5d510ab12599393 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d14fcc84cd963a1f6d9d7c8477bd3ee inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a8d14fcc84cd963a1f6d9d7c8477bd3ee"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a8d14fcc84cd963a1f6d9d7c8477bd3ee">hasConstraintHandler</a> () const</td></tr>
<tr class="memdesc:a8d14fcc84cd963a1f6d9d7c8477bd3ee inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns whether this function can return  <br /></td></tr>
<tr class="separator:a8d14fcc84cd963a1f6d9d7c8477bd3ee inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a499c48a9afe9e77e866af66c0cb4f396 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a499c48a9afe9e77e866af66c0cb4f396"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a499c48a9afe9e77e866af66c0cb4f396">canProvideClosestFeasible</a> () const</td></tr>
<tr class="memdesc:a499c48a9afe9e77e866af66c0cb4f396 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this function can calculate thee closest feasible to an infeasible point.  <br /></td></tr>
<tr class="separator:a499c48a9afe9e77e866af66c0cb4f396 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b418f50d0e284fe10c92a1c719d5615 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a3b418f50d0e284fe10c92a1c719d5615"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a3b418f50d0e284fe10c92a1c719d5615">isThreadSafe</a> () const</td></tr>
<tr class="memdesc:a3b418f50d0e284fe10c92a1c719d5615 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true, when the function can be usd in parallel threads.  <br /></td></tr>
<tr class="separator:a3b418f50d0e284fe10c92a1c719d5615 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80a63b56c111cd7c65e5b264c9d84bac inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a80a63b56c111cd7c65e5b264c9d84bac"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a80a63b56c111cd7c65e5b264c9d84bac">isNoisy</a> () const</td></tr>
<tr class="memdesc:a80a63b56c111cd7c65e5b264c9d84bac inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true, when the function can be usd in parallel threads.  <br /></td></tr>
<tr class="separator:a80a63b56c111cd7c65e5b264c9d84bac inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f32ae97885db58f9602191d64284f98 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a0f32ae97885db58f9602191d64284f98"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a0f32ae97885db58f9602191d64284f98">AbstractObjectiveFunction</a> ()</td></tr>
<tr class="memdesc:a0f32ae97885db58f9602191d64284f98 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default ctor.  <br /></td></tr>
<tr class="separator:a0f32ae97885db58f9602191d64284f98 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11cbdfb46ff9d34231248d8b847bd0ea inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a11cbdfb46ff9d34231248d8b847bd0ea"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a11cbdfb46ff9d34231248d8b847bd0ea">~AbstractObjectiveFunction</a> ()</td></tr>
<tr class="memdesc:a11cbdfb46ff9d34231248d8b847bd0ea inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Virtual destructor.  <br /></td></tr>
<tr class="separator:a11cbdfb46ff9d34231248d8b847bd0ea inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe4776a85c4ce622c25f3290fa1395d1 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_abe4776a85c4ce622c25f3290fa1395d1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#abe4776a85c4ce622c25f3290fa1395d1">init</a> ()</td></tr>
<tr class="separator:abe4776a85c4ce622c25f3290fa1395d1 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a287178b5b0b97c71bbffc80086ff00 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a3a287178b5b0b97c71bbffc80086ff00"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a3a287178b5b0b97c71bbffc80086ff00">setRng</a> (random::rng_type *rng)</td></tr>
<tr class="memdesc:a3a287178b5b0b97c71bbffc80086ff00 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the Rng used by the objective function.  <br /></td></tr>
<tr class="separator:a3a287178b5b0b97c71bbffc80086ff00 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24751b2fc6f327053938dc92ff01384a inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a24751b2fc6f327053938dc92ff01384a"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a24751b2fc6f327053938dc92ff01384a">hasScalableDimensionality</a> () const</td></tr>
<tr class="separator:a24751b2fc6f327053938dc92ff01384a inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bdfc60abbe8548ba090bff096295b8f inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a4bdfc60abbe8548ba090bff096295b8f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a4bdfc60abbe8548ba090bff096295b8f">setNumberOfVariables</a> (std::size_t numberOfVariables)</td></tr>
<tr class="memdesc:a4bdfc60abbe8548ba090bff096295b8f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the number of variables if the function is scalable.  <br /></td></tr>
<tr class="separator:a4bdfc60abbe8548ba090bff096295b8f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa69ec2b8a4e968f30d7ac135af074012 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aa69ec2b8a4e968f30d7ac135af074012"><td class="memItemLeft" align="right" valign="top">virtual std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aa69ec2b8a4e968f30d7ac135af074012">numberOfObjectives</a> () const</td></tr>
<tr class="separator:aa69ec2b8a4e968f30d7ac135af074012 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae58a543d7cccc6c66e3a7d8ce762fc01 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_ae58a543d7cccc6c66e3a7d8ce762fc01"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#ae58a543d7cccc6c66e3a7d8ce762fc01">hasScalableObjectives</a> () const</td></tr>
<tr class="separator:ae58a543d7cccc6c66e3a7d8ce762fc01 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcb3e45b19bba4130989d7ae37200900 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_afcb3e45b19bba4130989d7ae37200900"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#afcb3e45b19bba4130989d7ae37200900">setNumberOfObjectives</a> (std::size_t numberOfObjectives)</td></tr>
<tr class="memdesc:afcb3e45b19bba4130989d7ae37200900 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the number of objectives if the function is scalable.  <br /></td></tr>
<tr class="separator:afcb3e45b19bba4130989d7ae37200900 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaa9cc39ccb4d74a0d6db0ae2d087051 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_afaa9cc39ccb4d74a0d6db0ae2d087051"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#afaa9cc39ccb4d74a0d6db0ae2d087051">evaluationCounter</a> () const</td></tr>
<tr class="memdesc:afaa9cc39ccb4d74a0d6db0ae2d087051 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Accesses the evaluation counter of the function.  <br /></td></tr>
<tr class="separator:afaa9cc39ccb4d74a0d6db0ae2d087051 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a714edd6cc680adf04d5d12d7e845544f inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a714edd6cc680adf04d5d12d7e845544f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_constraint_handler.html">AbstractConstraintHandler</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a714edd6cc680adf04d5d12d7e845544f">getConstraintHandler</a> () const</td></tr>
<tr class="memdesc:a714edd6cc680adf04d5d12d7e845544f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the constraint handler of the function if it has one.  <br /></td></tr>
<tr class="separator:a714edd6cc680adf04d5d12d7e845544f inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a152c45a40169bf31cead2b9169a5367c inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a152c45a40169bf31cead2b9169a5367c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a152c45a40169bf31cead2b9169a5367c">isFeasible</a> (const <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &amp;input) const</td></tr>
<tr class="memdesc:a152c45a40169bf31cead2b9169a5367c inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether a point in SearchSpace is feasible, e.g., whether the constraints are fulfilled.  <br /></td></tr>
<tr class="separator:a152c45a40169bf31cead2b9169a5367c inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68b3dfe1642e13693b5ab610f3fc5f79 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a68b3dfe1642e13693b5ab610f3fc5f79"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a68b3dfe1642e13693b5ab610f3fc5f79">closestFeasible</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &amp;input) const</td></tr>
<tr class="memdesc:a68b3dfe1642e13693b5ab610f3fc5f79 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">If supported, the supplied point is repaired such that it satisfies all of the function's constraints.  <br /></td></tr>
<tr class="separator:a68b3dfe1642e13693b5ab610f3fc5f79 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd2922036a6388fde1173490079bb22b inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_acd2922036a6388fde1173490079bb22b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#acd2922036a6388fde1173490079bb22b">proposeStartingPoint</a> () const</td></tr>
<tr class="memdesc:acd2922036a6388fde1173490079bb22b inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Proposes a starting point in the feasible search space of the function.  <br /></td></tr>
<tr class="separator:acd2922036a6388fde1173490079bb22b inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa79994e4b70d92fd30e62be20145ebd9 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_aa79994e4b70d92fd30e62be20145ebd9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#aa79994e4b70d92fd30e62be20145ebd9">operator()</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input) const</td></tr>
<tr class="memdesc:aa79994e4b70d92fd30e62be20145ebd9 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the function. Useful together with STL-Algorithms like std::transform.  <br /></td></tr>
<tr class="separator:aa79994e4b70d92fd30e62be20145ebd9 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53df2ac5d82c608ea938dc1e3a0c0617 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a53df2ac5d82c608ea938dc1e3a0c0617"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a53df2ac5d82c608ea938dc1e3a0c0617">evalDerivative</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input, <a class="el" href="classshark_1_1_abstract_objective_function.html#a29804371954a360f09696adea7cfd839">FirstOrderDerivative</a> &amp;derivative) const</td></tr>
<tr class="memdesc:a53df2ac5d82c608ea938dc1e3a0c0617 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the objective function and calculates its gradient.  <br /></td></tr>
<tr class="separator:a53df2ac5d82c608ea938dc1e3a0c0617 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23274e2befc7530c8d63834e21a3fa78 inherit pub_methods_classshark_1_1_abstract_objective_function" id="r_a23274e2befc7530c8d63834e21a3fa78"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classshark_1_1_abstract_objective_function.html#a70f0672a3c3b24c437c81243624b5307">ResultType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a23274e2befc7530c8d63834e21a3fa78">evalDerivative</a> (<a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> const &amp;input, SecondOrderDerivative &amp;derivative) const</td></tr>
<tr class="memdesc:a23274e2befc7530c8d63834e21a3fa78 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluates the objective function and calculates its gradient.  <br /></td></tr>
<tr class="separator:a23274e2befc7530c8d63834e21a3fa78 inherit pub_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_i_nameable"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_i_nameable')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_i_nameable.html">shark::INameable</a></td></tr>
<tr class="memitem:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable" id="r_a877dbdfc6b58ea836495143cea44a98c"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_i_nameable.html#a877dbdfc6b58ea836495143cea44a98c">~INameable</a> ()</td></tr>
<tr class="separator:a877dbdfc6b58ea836495143cea44a98c inherit pub_methods_classshark_1_1_i_nameable"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a5a0ada9191df98c3e76945c933c0baee" id="r_a5a0ada9191df98c3e76945c933c0baee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_data_view.html">DataView</a>&lt; <a class="el" href="classshark_1_1_loo_error.html#a98fd037674411d450eb935f09319bb40">DatasetType</a> const  &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a5a0ada9191df98c3e76945c933c0baee">m_dataset</a></td></tr>
<tr class="separator:a5a0ada9191df98c3e76945c933c0baee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea70652be0f160c383401a7355f298f0" id="r_aea70652be0f160c383401a7355f298f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_i_parameterizable.html">IParameterizable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#aea70652be0f160c383401a7355f298f0">mep_meta</a></td></tr>
<tr class="separator:aea70652be0f160c383401a7355f298f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a381cef0b5509ecb47d8689d7bc31a0af" id="r_a381cef0b5509ecb47d8689d7bc31a0af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a381cef0b5509ecb47d8689d7bc31a0af">mep_model</a></td></tr>
<tr class="separator:a381cef0b5509ecb47d8689d7bc31a0af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1255ac86d5d31b56156ee7a4b9a6783" id="r_ad1255ac86d5d31b56156ee7a4b9a6783"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_loo_error.html#a5bc94bd972315845cb98d73988f6d908">TrainerType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#ad1255ac86d5d31b56156ee7a4b9a6783">mep_trainer</a></td></tr>
<tr class="separator:ad1255ac86d5d31b56156ee7a4b9a6783"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44b42d66c0a82c1605a3051d0641c471" id="r_a44b42d66c0a82c1605a3051d0641c471"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_loo_error.html#a7b1a832c24da5cce462b16c0a6a0566c">LossType</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_loo_error.html#a44b42d66c0a82c1605a3051d0641c471">mep_loss</a></td></tr>
<tr class="separator:a44b42d66c0a82c1605a3051d0641c471"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;</a></td></tr>
<tr class="memitem:ad8888c58fd3f98e73013afb5dd4b2af1 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_ad8888c58fd3f98e73013afb5dd4b2af1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_objective_function.html#a015ecb970cd0f5dac73e727fdcc0afec">Features</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">m_features</a></td></tr>
<tr class="separator:ad8888c58fd3f98e73013afb5dd4b2af1 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0942c072be06d0dd4da5ee7067c5777 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_af0942c072be06d0dd4da5ee7067c5777"><td class="memItemLeft" align="right" valign="top">std::size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#af0942c072be06d0dd4da5ee7067c5777">m_evaluationCounter</a></td></tr>
<tr class="memdesc:af0942c072be06d0dd4da5ee7067c5777 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">Evaluation counter, default value: 0.  <br /></td></tr>
<tr class="separator:af0942c072be06d0dd4da5ee7067c5777 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abcb65bca56cbfead4a3956e81d0d97d8 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_abcb65bca56cbfead4a3956e81d0d97d8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classshark_1_1_abstract_constraint_handler.html">AbstractConstraintHandler</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#abcb65bca56cbfead4a3956e81d0d97d8">m_constraintHandler</a></td></tr>
<tr class="separator:abcb65bca56cbfead4a3956e81d0d97d8 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a27bddca6060f7861c49b05f8ec8435 inherit pro_attribs_classshark_1_1_abstract_objective_function" id="r_a6a27bddca6060f7861c49b05f8ec8435"><td class="memItemLeft" align="right" valign="top">random::rng_type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a6a27bddca6060f7861c49b05f8ec8435">mep_rng</a></td></tr>
<tr class="separator:a6a27bddca6060f7861c49b05f8ec8435 inherit pro_attribs_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classshark_1_1_abstract_objective_function"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classshark_1_1_abstract_objective_function')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classshark_1_1_abstract_objective_function.html">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;</a></td></tr>
<tr class="memitem:a2b1a8af419059a542cb3d0848dd278a2 inherit pro_methods_classshark_1_1_abstract_objective_function" id="r_a2b1a8af419059a542cb3d0848dd278a2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_objective_function.html#a2b1a8af419059a542cb3d0848dd278a2">announceConstraintHandler</a> (<a class="el" href="classshark_1_1_abstract_constraint_handler.html">AbstractConstraintHandler</a>&lt; <a class="el" href="classshark_1_1_abstract_objective_function.html#a59bfea031628e16737c66e7117eba7b5">SearchPointType</a> &gt; const *handler)</td></tr>
<tr class="memdesc:a2b1a8af419059a542cb3d0848dd278a2 inherit pro_methods_classshark_1_1_abstract_objective_function"><td class="mdescLeft">&#160;</td><td class="mdescRight">helper function which is called to announce the presence of an constraint handler.  <br /></td></tr>
<tr class="separator:a2b1a8af419059a542cb3d0848dd278a2 inherit pro_methods_classshark_1_1_abstract_objective_function"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class ModelTypeT, class LabelType = typename ModelTypeT::OutputType&gt;<br />
class shark::LooError&lt; ModelTypeT, LabelType &gt;</div><p>Leave-one-out error objective function. </p>
<dl class="section user"><dt></dt><dd>The leave-one-out measure is the average prediction performance of a learning machine on a dataset, where each sample is predicted by a machine trained on all but the sample to be predicted. This is an extreme form of cross-validation, with a fold size of one.</dd></dl>
<dl class="section user"><dt></dt><dd>In general the leave-one-out error is costly to compute, since it requires training of a large number of learning machines. However, certain machines allow for a more efficient implementation. Refer to <a class="el" href="classshark_1_1_loo_error_c_svm.html" title="Leave-one-out error, specifically optimized for C-SVMs.">LooErrorCSvm</a> for an example. </dd></dl>

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00063">63</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a98fd037674411d450eb935f09319bb40" name="a98fd037674411d450eb935f09319bb40"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a98fd037674411d450eb935f09319bb40">&#9670;&#160;</a></span>DatasetType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt;<a class="el" href="classshark_1_1_loo_error.html#a3d4e7296d56808b83f609ecb70f121aa">InputType</a>, LabelType&gt; <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::DatasetType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00069">69</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

</div>
</div>
<a id="a3d4e7296d56808b83f609ecb70f121aa" name="a3d4e7296d56808b83f609ecb70f121aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d4e7296d56808b83f609ecb70f121aa">&#9670;&#160;</a></span>InputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef ModelType::InputType <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;<a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">::InputType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00067">67</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

</div>
</div>
<a id="a7b1a832c24da5cce462b16c0a6a0566c" name="a7b1a832c24da5cce462b16c0a6a0566c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b1a832c24da5cce462b16c0a6a0566c">&#9670;&#160;</a></span>LossType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_loss.html">AbstractLoss</a>&lt;LabelType, typename ModelType::OutputType&gt; <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::LossType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00071">71</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

</div>
</div>
<a id="aeebe3f649a655a693566c209f8fde436" name="aeebe3f649a655a693566c209f8fde436"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeebe3f649a655a693566c209f8fde436">&#9670;&#160;</a></span>ModelType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef ModelTypeT <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::ModelType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00066">66</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

</div>
</div>
<a id="ae009af284a0f073b1118fcaeb9a92356" name="ae009af284a0f073b1118fcaeb9a92356"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae009af284a0f073b1118fcaeb9a92356">&#9670;&#160;</a></span>OutputType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef ModelType::OutputType <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::OutputType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00068">68</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

</div>
</div>
<a id="a5bc94bd972315845cb98d73988f6d908" name="a5bc94bd972315845cb98d73988f6d908"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bc94bd972315845cb98d73988f6d908">&#9670;&#160;</a></span>TrainerType</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef <a class="el" href="classshark_1_1_abstract_trainer.html">AbstractTrainer</a>&lt;<a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a>, LabelType&gt; <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::TrainerType</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00070">70</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="abf0bc6ef63dc7648e2fc257b7c6587cb" name="abf0bc6ef63dc7648e2fc257b7c6587cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf0bc6ef63dc7648e2fc257b7c6587cb">&#9670;&#160;</a></span>LooError()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::LooError </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_loo_error.html#a98fd037674411d450eb935f09319bb40">DatasetType</a> const &amp;&#160;</td>
          <td class="paramname"><em>dataset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a> *&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_loo_error.html#a5bc94bd972315845cb98d73988f6d908">TrainerType</a> *&#160;</td>
          <td class="paramname"><em>trainer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_loo_error.html#a7b1a832c24da5cce462b16c0a6a0566c">LossType</a> *&#160;</td>
          <td class="paramname"><em>loss</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classshark_1_1_i_parameterizable.html">IParameterizable</a>&lt;&gt; *&#160;</td>
          <td class="paramname"><em>meta</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataset</td><td>Full data set for leave-one-out. </td></tr>
    <tr><td class="paramname">model</td><td>Model built on subsets of the data. </td></tr>
    <tr><td class="paramname">trainer</td><td>Trainer for learning on each subset. </td></tr>
    <tr><td class="paramname">loss</td><td>Loss function for judging the validation output. </td></tr>
    <tr><td class="paramname">meta</td><td>Meta object with parameters that influences the process, typically a trainer. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00082">82</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_objective_function.html#aadafeb6dfb5b649f321e7b81ac8aad1aad3475b458576c8760f28d8d81f4eda86">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;::HAS_VALUE</a>, and <a class="el" href="classshark_1_1_abstract_objective_function.html#ad8888c58fd3f98e73013afb5dd4b2af1">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;::m_features</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ac21fc9ca54e8f324cc6136bc5cebb121" name="ac21fc9ca54e8f324cc6136bc5cebb121"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac21fc9ca54e8f324cc6136bc5cebb121">&#9670;&#160;</a></span>eval() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::eval </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Evaluate the leave-one-out error: train sub-models, evaluate objective, return the average. </p>

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00114">114</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_abstract_loss.html#ad57cb10f610d506e522f707563acabb8">shark::AbstractLoss&lt; LabelT, OutputT &gt;::eval()</a>, <a class="el" href="classshark_1_1_loo_error.html#a5a0ada9191df98c3e76945c933c0baee">shark::LooError&lt; ModelTypeT, LabelType &gt;::m_dataset</a>, <a class="el" href="classshark_1_1_abstract_objective_function.html#af0942c072be06d0dd4da5ee7067c5777">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;::m_evaluationCounter</a>, <a class="el" href="classshark_1_1_loo_error.html#a44b42d66c0a82c1605a3051d0641c471">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_loss</a>, <a class="el" href="classshark_1_1_loo_error.html#a381cef0b5509ecb47d8689d7bc31a0af">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_model</a>, <a class="el" href="classshark_1_1_loo_error.html#ad1255ac86d5d31b56156ee7a4b9a6783">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_trainer</a>, <a class="el" href="group__shark__globals.html#ga420a47af92d8da0f5e95a7d158521db9">shark::subset()</a>, <a class="el" href="group__shark__globals.html#ga3c0660922e34389d005bb81e9bde0c18">shark::toDataset()</a>, and <a class="el" href="classshark_1_1_abstract_trainer.html#a71d3fd2567473d746ecb733d7fa28c7e">shark::AbstractTrainer&lt; Model, LabelTypeT &gt;::train()</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error.html#af232bdbe9573aae2d81d9d574c331425">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>.</p>

</div>
</div>
<a id="af232bdbe9573aae2d81d9d574c331425" name="af232bdbe9573aae2d81d9d574c331425"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af232bdbe9573aae2d81d9d574c331425">&#9670;&#160;</a></span>eval() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::eval </td>
          <td>(</td>
          <td class="paramtype">const RealVector &amp;&#160;</td>
          <td class="paramname"><em>parameters</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Evaluate the leave-one-out error for the given parameters passed to the meta object (typically these parameters need to be optimized in a model selection procedure). </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_abstract_objective_function.html#a751c175270f6d6f0bcc1200f333c0045">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00138">138</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_loo_error.html#ac21fc9ca54e8f324cc6136bc5cebb121">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>, <a class="el" href="classshark_1_1_loo_error.html#aea70652be0f160c383401a7355f298f0">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_meta</a>, <a class="el" href="classshark_1_1_i_parameterizable.html#ad5e35d1a10ff36fa72ea787baa40e9ad">shark::IParameterizable&lt; VectorType &gt;::setParameterVector()</a>, and <a class="el" href="_exception_8h.html#a73abb5049a0168d72a48e72dda41708b">SHARK_ASSERT</a>.</p>

</div>
</div>
<a id="a4deb85efd90bada09269d3433e72497a" name="a4deb85efd90bada09269d3433e72497a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4deb85efd90bada09269d3433e72497a">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>From <a class="el" href="classshark_1_1_i_nameable.html" title="This class is an interface for all objects which can have a name.">INameable</a>: return the class name. </p>

<p>Reimplemented from <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable</a>.</p>

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00099">99</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_loo_error.html#a44b42d66c0a82c1605a3051d0641c471">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_loss</a>, <a class="el" href="classshark_1_1_loo_error.html#a381cef0b5509ecb47d8689d7bc31a0af">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_model</a>, <a class="el" href="classshark_1_1_loo_error.html#ad1255ac86d5d31b56156ee7a4b9a6783">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_trainer</a>, and <a class="el" href="classshark_1_1_i_nameable.html#a9893f99314de30cd472e649c235d0db4">shark::INameable::name()</a>.</p>

</div>
</div>
<a id="ac0261f681ff5438e68e8a29fe64265dc" name="ac0261f681ff5438e68e8a29fe64265dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0261f681ff5438e68e8a29fe64265dc">&#9670;&#160;</a></span>numberOfVariables()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::size_t <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::numberOfVariables </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Accesses the number of variables. </p>

<p>Implements <a class="el" href="classshark_1_1_abstract_objective_function.html#a256f6b128af038dfaf9cef1bcd45a426">shark::AbstractObjectiveFunction&lt; RealVector, double &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00107">107</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_loo_error.html#aea70652be0f160c383401a7355f298f0">shark::LooError&lt; ModelTypeT, LabelType &gt;::mep_meta</a>, and <a class="el" href="classshark_1_1_i_parameterizable.html#aed1e8d1d4dbde387e2f6a25141ed3a20">shark::IParameterizable&lt; VectorType &gt;::numberOfParameters()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a5a0ada9191df98c3e76945c933c0baee" name="a5a0ada9191df98c3e76945c933c0baee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a0ada9191df98c3e76945c933c0baee">&#9670;&#160;</a></span>m_dataset</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_data_view.html">DataView</a>&lt;<a class="el" href="classshark_1_1_loo_error.html#a98fd037674411d450eb935f09319bb40">DatasetType</a> const&gt; <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::m_dataset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00144">144</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error.html#ac21fc9ca54e8f324cc6136bc5cebb121">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>.</p>

</div>
</div>
<a id="a44b42d66c0a82c1605a3051d0641c471" name="a44b42d66c0a82c1605a3051d0641c471"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44b42d66c0a82c1605a3051d0641c471">&#9670;&#160;</a></span>mep_loss</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_loo_error.html#a7b1a832c24da5cce462b16c0a6a0566c">LossType</a>* <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::mep_loss</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00148">148</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error.html#ac21fc9ca54e8f324cc6136bc5cebb121">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>, and <a class="el" href="classshark_1_1_loo_error.html#a4deb85efd90bada09269d3433e72497a">shark::LooError&lt; ModelTypeT, LabelType &gt;::name()</a>.</p>

</div>
</div>
<a id="aea70652be0f160c383401a7355f298f0" name="aea70652be0f160c383401a7355f298f0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aea70652be0f160c383401a7355f298f0">&#9670;&#160;</a></span>mep_meta</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_i_parameterizable.html">IParameterizable</a>* <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::mep_meta</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00145">145</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error.html#af232bdbe9573aae2d81d9d574c331425">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>, and <a class="el" href="classshark_1_1_loo_error.html#ac0261f681ff5438e68e8a29fe64265dc">shark::LooError&lt; ModelTypeT, LabelType &gt;::numberOfVariables()</a>.</p>

</div>
</div>
<a id="a381cef0b5509ecb47d8689d7bc31a0af" name="a381cef0b5509ecb47d8689d7bc31a0af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a381cef0b5509ecb47d8689d7bc31a0af">&#9670;&#160;</a></span>mep_model</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_loo_error.html#aeebe3f649a655a693566c209f8fde436">ModelType</a>* <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::mep_model</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00146">146</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error.html#ac21fc9ca54e8f324cc6136bc5cebb121">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>, and <a class="el" href="classshark_1_1_loo_error.html#a4deb85efd90bada09269d3433e72497a">shark::LooError&lt; ModelTypeT, LabelType &gt;::name()</a>.</p>

</div>
</div>
<a id="ad1255ac86d5d31b56156ee7a4b9a6783" name="ad1255ac86d5d31b56156ee7a4b9a6783"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad1255ac86d5d31b56156ee7a4b9a6783">&#9670;&#160;</a></span>mep_trainer</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ModelTypeT , class LabelType  = typename ModelTypeT::OutputType&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_loo_error.html#a5bc94bd972315845cb98d73988f6d908">TrainerType</a>* <a class="el" href="classshark_1_1_loo_error.html">shark::LooError</a>&lt; ModelTypeT, LabelType &gt;::mep_trainer</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="_loo_error_8h_source.html#l00147">147</a> of file <a class="el" href="_loo_error_8h_source.html">LooError.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_loo_error.html#ac21fc9ca54e8f324cc6136bc5cebb121">shark::LooError&lt; ModelTypeT, LabelType &gt;::eval()</a>, and <a class="el" href="classshark_1_1_loo_error.html#a4deb85efd90bada09269d3433e72497a">shark::LooError&lt; ModelTypeT, LabelType &gt;::name()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/ObjectiveFunctions/<a class="el" href="_loo_error_8h_source.html">LooError.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
